package com.bbva.kyfb.kyfbdaohostfo.servicios.host.tpbft080_1_8_1;

import com.bbva.jee.arq.spring.core.host.Campo;
import com.bbva.jee.arq.spring.core.host.TipoCampo;
import com.bbva.jee.arq.spring.core.host.Transaccion;

import java.io.Serializable;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.serializable.RooSerializable;
import org.springframework.roo.addon.tostring.RooToString;

/**
 * <p>Transacci&oacute;n <code>TPBFT080</code></p>
 * <p>Informaci&oacute;n de la transacci&oacute;n:
 * <ul>
 *    <li><b>Tipo:</b> 1</li>
 *    <li><b>Subtipo:</b> 8</li>
 *    <li><b>Versi&oacute;n:</b> 1</li>
 *    <li><b>Clase de petici&oacute;n:</b> PeticionTransaccionTpbft080_1_8_1</li>
 *    <li><b>Clase de respuesta:</b> RespuestaTransaccionTpbft080_1_8_1</li>
 * </ul>
 * </p>
 * <p>Configuraci&oacute;n de la transacci&oacute;n:
 * <ul>
 *    <li><b>Nombre configuraci&oacute;n:</b> config_otma_aa01</li>
 * </ul>
 * </p>
 * <p>Copy de la transacci&oacute;n:</p>
 * <code><pre> * FICHERO: TPBFT080-1-8-1.txt
 * TPBFT080000100080001000000010000ENT-CBANCO          00000000FN000100004000010000000N        1999-06-261998-03-13A926789
 * TPBFT080000100080001000000020000ENT-COFICI          00000000FN000100004000050000000N        1999-06-261998-03-13A926789
 * TPBFT080000100080001000000030000ENT-CCONTR          00000000FN000100004000090000000N        1999-06-261998-03-13A926789
 * TPBFT080000100080001000000040000ENT-CFOLIO          00000000FN000100014000130000000N        1999-06-261998-03-13A926789
 * TPBFT080000100080001000000050000SEL-DOM-POS         00000000FN000100001000270000000N        1999-06-261998-03-13A926789
 * TPBFT080000100080001000000060000SEL-CTA-REL         00000000FN000100001000280000000N        1999-06-261998-03-13A926789
 * TPBFT080000100080001000000070000SEL-INT-CON         00000000FN000100001000290000000N        1999-06-261998-03-13A926789
 * TPBFT080000100080001000800010000SAL-TIPOVIA         00000000OA000000002000010000000         1999-06-261998-03-11A926789
 * TPBFT080000100080001000800020000SAL-CALLE           00000000OA000000036000030000000         1999-06-261998-03-11A926789
 * TPBFT080000100080001000800030000SAL-NUMERO          00000000OA000000004000390000000         1999-06-261998-03-11A926789
 * TPBFT080000100080001000800040000SAL-RESTO           00000000OA000000024000430000000         1999-06-261998-03-11A926789
 * TPBFT080000100080001000800050000SAL-PLAZA           00000000OA000000028000670000000         1999-06-261998-03-11A926789
 * TPBFT080000100080001000800060000SAL-PROVINCIA       00000000OA000000036000950000000         1999-06-261998-03-11A926789
 * TPBFT080000100080001000800070000SAL-CODPOS          00000000ON000000005001310000000N        1999-06-261998-03-11A926789
 * TPBFT080000100080001000800080000SAL-PAIS            00000000OA000000036001360000000         1999-06-261998-03-11A926789
 * TPBFT080000100080001000800090000SAL-CBANCO          00000000ON000000004001720000000N        1999-06-261998-03-11A926789
 * TPBFT080000100080001000800100000SAL-COFICI          00000000ON000000004001760000000N        1999-06-261998-03-11A926789
 * TPBFT080000100080001000800110000SAL-CCONTR          00000000ON000000004001800000000N        1999-06-261998-03-11A926789
 * TPBFT080000100080001000800120000SAL-CFOLIO          00000000ON000000014001840000000N        1999-06-261998-03-11A926789
 * TPBFT080000100080001000800130000SAL-TAB-CTASREL     00350008  005301855001980000000         1999-06-261998-03-12A926789
 * TPBFT080000100080001000800130001SAL-CBANCC          00000000ON000000004001980000000N        1999-06-261998-03-12A926789
 * TPBFT080000100080001000800130002SAL-COFICC          00000000ON000000004002020000000N        1999-06-261998-03-12A926789
 * TPBFT080000100080001000800130003SAL-CCONTC          00000000ON000000004002060000000N        1999-06-261998-03-12A926789
 * TPBFT080000100080001000800130004SAL-CFOLIC          00000000ON000000014002100000000N        1999-06-261998-03-12A926789
 * TPBFT080000100080001000800130005SAL-CRECTA          00000000ON000000004002240000000N        1999-06-261998-03-12A926789
 * TPBFT080000100080001000800130006SAL-CDEPEN          00000000ON000000009002280000000N        1999-06-261998-03-12A926789
 * TPBFT080000100080001000800130007SAL-FEC-VIGOR       00000000OA000000010002370000000         1999-06-261998-03-12A926789
 * TPBFT080000100080001000800130008SAL-COD-SECUE       00000000ON000000004002470000000N        1999-06-261998-03-12A926789
 * TPBFT080000100080001000800140000SAL-TABLA           00600005  008605160020530000000         1999-06-261998-03-13A926789
 * TPBFT080000100080001000800140001SAL-CCLIEN          00000000ON000000009020530000000N        1999-06-261998-03-13A926789
 * TPBFT080000100080001000800140002SAL-CTIPPE          00000000OA000000003020620000000         1999-06-261998-03-13A926789
 * TPBFT080000100080001000800140003SAL-QNUMOR          00000000ON000000004020650000000N        1999-06-261998-03-13A926789
 * TPBFT080000100080001000800140004SAL-CDNITR          00000000OA000000010020690000000         1999-06-261998-03-13A926789
 * TPBFT080000100080001000800140005SAL-DENOMB          00000000OA000000060020790000000         1999-06-261998-03-13A926789
</pre></code>
 * 
 * @see RespuestaTransaccionTpbft080_1_8_1
 * 
 * @author Arquitectura Spring BBVA
 */
@Transaccion(
	nombre = "TPBFT080",
	tipo = 1, 
	subtipo = 8,	
	version = 1,
	configuracion = "config_otma_aa01",
	respuesta = RespuestaTransaccionTpbft080_1_8_1.class
)
@RooJavaBean
@RooToString
@RooSerializable
public class PeticionTransaccionTpbft080_1_8_1 implements java.io.Serializable {
	
	/**
	 * <p>Campo <code>ENT-CBANCO</code>, &iacute;ndice: <code>1</code>, tipo: <code>ENTERO</code>
	 */
	@Campo(indice = 1, nombre = "ENT-CBANCO", tipo = TipoCampo.ENTERO, longitudMinima = 1, longitudMaxima = 4, obligatorio = true)
	private int entCbanco;
	
	/**
	 * <p>Campo <code>ENT-COFICI</code>, &iacute;ndice: <code>2</code>, tipo: <code>ENTERO</code>
	 */
	@Campo(indice = 2, nombre = "ENT-COFICI", tipo = TipoCampo.ENTERO, longitudMinima = 1, longitudMaxima = 4, obligatorio = true)
	private int entCofici;
	
	/**
	 * <p>Campo <code>ENT-CCONTR</code>, &iacute;ndice: <code>3</code>, tipo: <code>ENTERO</code>
	 */
	@Campo(indice = 3, nombre = "ENT-CCONTR", tipo = TipoCampo.ENTERO, longitudMinima = 1, longitudMaxima = 4, obligatorio = true)
	private int entCcontr;
	
	/**
	 * <p>Campo <code>ENT-CFOLIO</code>, &iacute;ndice: <code>4</code>, tipo: <code>ENTERO</code>
	 */
	@Campo(indice = 4, nombre = "ENT-CFOLIO", tipo = TipoCampo.ENTERO, longitudMinima = 1, longitudMaxima = 14, obligatorio = true)
	private long entCfolio;
	
	/**
	 * <p>Campo <code>SEL-DOM-POS</code>, &iacute;ndice: <code>5</code>, tipo: <code>ENTERO</code>
	 */
	@Campo(indice = 5, nombre = "SEL-DOM-POS", tipo = TipoCampo.ENTERO, longitudMinima = 1, longitudMaxima = 1, obligatorio = true)
	private int selDomPos;
	
	/**
	 * <p>Campo <code>SEL-CTA-REL</code>, &iacute;ndice: <code>6</code>, tipo: <code>ENTERO</code>
	 */
	@Campo(indice = 6, nombre = "SEL-CTA-REL", tipo = TipoCampo.ENTERO, longitudMinima = 1, longitudMaxima = 1, obligatorio = true)
	private int selCtaRel;
	
	/**
	 * <p>Campo <code>SEL-INT-CON</code>, &iacute;ndice: <code>7</code>, tipo: <code>ENTERO</code>
	 */
	@Campo(indice = 7, nombre = "SEL-INT-CON", tipo = TipoCampo.ENTERO, longitudMinima = 1, longitudMaxima = 1, obligatorio = true)
	private int selIntCon;
	

	public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("EntCbanco: ").append(getEntCbanco()).append(", ");
        sb.append("EntCcontr: ").append(getEntCcontr()).append(", ");
        sb.append("EntCfolio: ").append(getEntCfolio()).append(", ");
        sb.append("EntCofici: ").append(getEntCofici()).append(", ");
        sb.append("SelCtaRel: ").append(getSelCtaRel()).append(", ");
        sb.append("SelDomPos: ").append(getSelDomPos()).append(", ");
        sb.append("SelIntCon: ").append(getSelIntCon());
        return sb.toString();
    }

	public int getEntCbanco() {
        return this.entCbanco;
    }

	public void setEntCbanco(int entCbanco) {
        this.entCbanco = entCbanco;
    }

	public int getEntCofici() {
        return this.entCofici;
    }

	public void setEntCofici(int entCofici) {
        this.entCofici = entCofici;
    }

	public int getEntCcontr() {
        return this.entCcontr;
    }

	public void setEntCcontr(int entCcontr) {
        this.entCcontr = entCcontr;
    }

	public long getEntCfolio() {
        return this.entCfolio;
    }

	public void setEntCfolio(long entCfolio) {
        this.entCfolio = entCfolio;
    }

	public int getSelDomPos() {
        return this.selDomPos;
    }

	public void setSelDomPos(int selDomPos) {
        this.selDomPos = selDomPos;
    }

	public int getSelCtaRel() {
        return this.selCtaRel;
    }

	public void setSelCtaRel(int selCtaRel) {
        this.selCtaRel = selCtaRel;
    }

	public int getSelIntCon() {
        return this.selIntCon;
    }

	public void setSelIntCon(int selIntCon) {
        this.selIntCon = selIntCon;
    }

	private static final long serialVersionUID = 1L;
}